package com.hishop.payment.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单支付信息实体
 * UC_PAY_IFS
 * @author
 * @version 创建时间：2017年10月10日 下午1:46:05
 */
public class PayInfo implements Serializable {
	private static final long serialVersionUID = 913397115377824645L;
    private long id; //订单id
    private long userId;//家长id
    private long studentId;//学生id
    private String packageId;//套餐id
    private String months;//购买月数，0表示套餐升级
    private String recommendCode;//推荐码
    private String orderId;//订单号
    private String name;//订单名称（实际就是套餐名称）
    private String description;//套餐描述
    private int payChannel;//支付平台:1-支付宝,2-微信
    private BigDecimal price;//订单金额
    private Date createTime;//生成订单时间
    private Date payTime;//支付成功时间
    private int status;//订单状态:0未支付，10 已取消, 20 已支付，30 订单完成,40 订单关闭
    private String responseResult;//回调结果json字符串
    
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public long getStudentId() {
		return studentId;
	}
	public void setStudentId(long studentId) {
		this.studentId = studentId;
	}
	public String getPackageId() {
		return packageId;
	}
	public void setPackageId(String packageId) {
		this.packageId = packageId;
	}
	public String getMonths() {
		return months;
	}
	public void setMonths(String months) {
		this.months = months;
	}
	public String getRecommendCode() {
		return recommendCode;
	}
	public void setRecommendCode(String recommendCode) {
		this.recommendCode = recommendCode;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getPayChannel() {
		return payChannel;
	}
	public void setPayChannel(int payChannel) {
		this.payChannel = payChannel;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getPayTime() {
		return payTime;
	}
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getResponseResult() {
		return responseResult;
	}
	public void setResponseResult(String responseResult) {
		this.responseResult = responseResult;
	}
}
